Name | Potion Effect Format |
Description | Potion effects (be it on an entity, given by a potion, etc.) are represented in Denizen as MapTags with the following keys:
- effect: the effect type given by the effect, see https://minecraft.wiki/w/Effect#Descriptions. - amplifier: the number to increase the effect level by, usually controls how powerful its effects are (optional for input, defaults to 0 which is level 1). - duration (DurationTag): how long the effect should last (optional for input, defaults to 0s). - ambient: a boolean (true/false) for whether the effect's particles should be more translucent and less intrusive, like effects given by a beacon (optional for input, defaults to true). - particles: a boolean (true/false) for whether the effect should display particles (optional for input, defaults to true). - icon: a boolean (true/false) for whether the effect should have an icon on a player's HUD when applied (optional for input, defaults to false). For example, [effect=speed;amplifier=2;duration=10s;ambient=false;particles=true;icon=true] would be a level 3 speed effect that lasts 10 seconds, with (normal) particles and an icon. |
Group | Minecraft Logic |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemPotion.java#L32 |